package iotest.stream;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;

public class OSWDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos= new FileOutputStream("cxk.txt");
        OutputStreamWriter osw = new OutputStreamWriter(fos);
        osw.write("全民制作人们大家好,我是练习时长两年半的个人偶像练习生,坤坤,喜欢唱跳rap篮球,请多多为我投票吧");
        System.out.println("写完了");
        osw.close();





    }
}
